package com.xuyiwei.xblog.core.util;


import com.xuyiwei.xblog.core.config.properties.GunsProperties;

/**
 * Created by xuyiwei on 2018/10/28.
 */
public class SysConfigUtil {

    /**
     * 获取验证码开关
     */
    public static Boolean getSysConfig() {
        return SpringContextHolder.getBean(GunsProperties.class).getKaptchaOpen();
    }
}
